/*
 * @author boss archetype
 * <p>
 * 枚举定义
 */
package com.hopes.bizz.close.common.constant.enums;

import com.hopes.bizz.close.common.api.feign.RemoteParkCloseDictService;
import com.hopes.boss.admin.api.resolver.EnumResolver;
import com.hopes.boss.admin.api.resolver.IDict;

public enum ParkCloseModDictEnum implements EnumResolver<RemoteParkCloseDictService> {

	/**
	 * 封闭园区卡口
	 */
	closed_gate("listClosedGateListAsDict"),

	/**
	 * 封闭园区道路
	 */
	closed_road("listClosedRoadListAsDict"),

	/**
	 * 封闭园区人员
	 */
	closed_person("listClosedPersonListAsDict"),

	/**
	 * 危险品车辆
	 */
	closed_hazard_car("listClosedHazardCarListAsDict"),

	/**
	 * 普通车辆
	 */
	closed_general_car("listClosedGeneralCarListAsDict"),


	/**
	 * GPS设备
	 */
	closed_all_gps_device("listClosedGpsDeviceListAsDict"),


	/**
	 * 可选的GPS设备 过滤已绑定、未使用的
	 */
	closed_can_select_gps_device("listCanSelectGpsDeviceAsDict"),

	/**
	 * 封闭园区门禁
	 */
	closed_access_control("listClosedAccessControlListAsDict"),


	/**
	 * 分级管控区域
	 */
	closed_level_control_area("listClosedControlAreaListAsDict"),


	/**
	 * 企业常用危险品
	 */
	closed_hazard_goods("listClosedHazardGoodsListAsDict"),

	;


	private final String methodName;

	private Class<? extends IDict> remoteClass = RemoteParkCloseDictService.class;

	ParkCloseModDictEnum(String methodName) {
		this.methodName = methodName;
	}

	ParkCloseModDictEnum(String methodName, Class<? extends IDict> remoteClass) {
		this.methodName = methodName;
		this.remoteClass = remoteClass;
	}

	@Override
	public String getType() {
		return this.name();
	}

	@Override
	public String getMethodName() {
		return methodName;
	}

	@Override
	public Class<? extends IDict> getRemoteClass() {
		return remoteClass;
	}
}
